import { request } from '~/api/request'

/** 待移送案件列表 */
export const queryWaitCaseList = (data: any): any =>
  request('post', '/api/internal/v1/item/take/query/waitCaseList', data)

export const queryWaitCastItems = (data: any): any =>
  request('post', '/api/internal/v1/item/take/query/waitCastItems', data)

export const queryCastItems = (data: any): any => request('post', '/api/internal/v1/item/take/query/castItems', data)

export const queryTakeCaseList = (data: any): any =>
  request('post', '/api/internal/v1/item/take/query/takeCaseList', data)

export const handleTake = (data: any): any => request('post', '/api/internal/v1/item/manage/take', data)
